/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package UserInterface;

import java.awt.Canvas;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Image;
import java.util.List;

/**
 *
 * @author subx
 */
public class MapCanvas extends Canvas {

    private Image map;

    public MapCanvas() {
        setBackground(Color.WHITE);
        //this.setSize(WIDTH, WIDTH);
    }

    /**
     * Get the value of map
     *
     * @return the value of map
     */
    public Image getMap() {
        return map;
    }

    /**
     * Set the value of map
     *
     * @param map new value of map
     */
    public void setMap(Image map) {
        this.map = map;
    }

    @Override
    public void paint(Graphics g) {
    
    }

    public void drawAll(List<? extends Shape> l) {
        
    }
}
